import { apiData } from '../axios/axios'

export const loginIn = (param) => {
    const config = {
        url: '/auth/oauth/token',
        data: param,
        method: 'get'
    }
    return apiData(config)
}

export const loginOut = (param) => {
    const config = {
        url: '/auth/authentication/logOut',
        data: param,
        method: 'delete'
    }
    return apiData(config)
}
